xen/arm: Correctly boot with an initrd and no linux command line
authorJulien Grall <julien.grall@linaro.org>
Mon, 10 Feb 2014 17:34:46 +0000 (17:34 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 11 Feb 2014 12:46:54 +0000 (12:46 +0000)
commit3b2f92c1f8567461562fac9922fbad223dc8c6cf
tree1d8b14eb9d20d63060e0bbfb1381bef07cd79031
parent3413b6a923839446c51a7612b19c5dc33b8aa6bc
xen/arm: Correctly boot with an initrd and no linux command line

When DOM0 device tree is building, the properties for initrd will
only be added if there is a linux command line. This will result to a panic
later:

(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x20000000->0x40000000 (1:1 mapping for dom0)
(XEN) Loading kernel from boot module 2
(XEN) Loading zImage from 0000000001000000 to 0000000027c00000-0000000027eafb48
(XEN) Loading dom0 initrd from 0000000002000000 to 0x0000000028200000-0x0000000028c00000
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Cannot fix up "linux,initrd-start" property
(XEN) ****************************************
(XEN)

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c